package com.le.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.le.edu.domain.entity.Course;
import com.le.edu.domain.vo.CourseAndTeacherAndCommentVO;
import com.le.edu.domain.vo.CourseVO;

/**
 * @author 17447
 * @description 针对表【t_course(课程)】的数据库操作Service
 * @createDate 2024-04-07 23:27:55
 */
public interface CourseService extends IService<Course> {

    CourseVO selectCourseAndDescriptionById(Long courseId);

    Long addCourseVo(CourseVO vo);

    void updateCourseInfo(CourseVO vo);

    void removeCourseAndDescAndChapterByCourseId(Long[] courseIds);

    CourseAndTeacherAndCommentVO CourseAndDespAndTeacherAndChapterAndCommentV2(Long courseId);
}
